package com.angel.mocks.data.generator.daos.impl;

import java.io.Serializable;
import java.util.List;

import com.angel.dao.generic.impl.GenericHibernateDAO;
import com.angel.mocks.data.generator.daos.RoleDAO;
import com.angel.mocks.data.generator.domainObject.Role;


/**
 * @author William
 *
 */
public class RoleDAOHibernate extends GenericHibernateDAO<Role, Serializable> implements RoleDAO{


	public List<Role> findAllBySubRole(Role subRole) {
		return null;
	}

	public Role findByDescription(String description) {
		return super.findUnique("description", description);
	}

	public Role findByName(String name) {
		return super.findUnique("name", name);
	}



}
